let aaa= {a:1};
async function zzz (){
  function aaa(){
      console.log(1, new Date().getUTCSeconds());
      return new Promise((resolve,reject)=>{
          console.log(2, new Date().getUTCSeconds());
          setTimeout(()=>{
              resolve(2)
          }, 2000);
      }) 
  };
  function bbb(){
    let bbb= {b:1};
      console.log(11, new Date().getUTCSeconds());
      return new Promise((resolve,reject)=>{
          console.log(12, new Date().getUTCSeconds());
          setTimeout(()=>{
              resolve(12)
          }, 2000);
      }) 
//         setTimeout(()=>{
//             console.log(12);
//         }, 2000);
  };
  console.log(0, new Date().getUTCSeconds());
  var a = await aaa();
  console.log('a',a , new Date().getUTCSeconds());
  var b = await bbb();
  console.log('b',b, new Date().getUTCSeconds());
}

// zzz();

console.log(2333444444444);
